﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using STT.Layer.Connection;
using System.Data;
namespace STT.Home
{
    public partial class UcIndex : System.Web.UI.UserControl
    {
        ToolBox tb = new ToolBox();
        protected void Page_Load(object sender, EventArgs e)
        {
            dtltc1.DataSource = tb.GetDataTableById("TbTinTuc_GetTTBytop", "1");
            dtltc1.DataBind();
            dtltc2.DataSource = tb.GetDataTableById("TbTinTuc_GetTTBytop", "2");
            dtltc2.DataBind();
            dtltc3.DataSource = tb.GetDataTableById("TbTinTuc_GetTTBytop", "3");
            dtltc3.DataBind();
            dtltc4.DataSource = tb.GetDataTableById("TbTinTuc_GetTTBytop", "4");
            dtltc4.DataBind();
        }
    }
}